package lib.com.Dao.entity;


import water.com.DbAuto.AutoTable;
import water.com.DbAuto.ColumnDefine;
import water.com.Ioc.WaterBean;
import lombok.Data;

@Data
@WaterBean
@AutoTable
public class Borrow {
	@ColumnDefine(primaryKey = true,dataType = "int(11)",defaultNull = false,autoIncrement = true)
	private String borrowKey;
	@ColumnDefine(dataType = "int(11)")
	private String userKey;
	@ColumnDefine(dataType = "int(11)")
	private String bookKey;
	@ColumnDefine(dataType = "varchar(26)")
	private String startTime;
	@ColumnDefine(dataType = "varchar(26)")
	private String endTime;
	@ColumnDefine(dataType = "char(1)")
	private String status;
	@ColumnDefine(dataType = "varchar(26)")
	private String timeStamp;
}
